from django.db import models
from apps.common.base.models import BaseModel
from apps.system.lessee.models import Lessee

class Wheel(BaseModel):

    lessee = models.ForeignKey(Lessee, related_name="lessee_wheel", verbose_name='租户', on_delete=models.SET_NULL, null=True, blank=True, db_constraint=False)
    name = models.CharField("名称", max_length=200, blank=True, null=True, default='')

    class Meta:
        verbose_name = 'Wheel'
        verbose_name_plural = verbose_name
